using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using Dimok.Web.UI;
using Data;

namespace Dimok.Aspx.Manager.Lib.Controls {
	public partial class Dealer : UserControlHTC{

		protected void Page_Load(object sender, System.EventArgs e) {
			SQL.SELECT(selDealers, uox.db, SQL.Dealers_V, "Name", "ID");
			SQL.SELECT(selSalesPersons, uox.DealerSalesPersons((int)uox.LoanInfo.Row["DealerID"]), "Name", "ID");
			XmlLoanInfo.InnerHtml = uox.LoanInfo.GetXml();
		}
	}
}
